import { devHttp } from '@/services/hbhttp.js'
const $http=devHttp;

/**
*  获取员工信息
*/
export const getAdminAll = (params) => {
	return $http.get('admin/getAdmin',params)
};

/**
*  登录
*/
export const postLogin = (params) => {
	return $http.post('login',params)
};

/**
*  修改密码
*/
export const postUpdatePassword = (params) => {
	return $http.post('system/admin/profile/updatePwdAdmin',params)
};

/**
*  获取部门信息
*/
export const getDidAll = (params) => {
	return $http.get('admin/getDidList',params)
};

/**
*  获取app菜单接口
*/
export const getAdminRuleAppAll = () => {
	return $http.get('admin/getAdminRuleApp')
};

/**
*  获取新闻列表
*/
export const getOaNewsAll = (params) => {
	return $http.get('admin/getOaNewsAll',params)
};

/**
*  获取新闻详情
*/
export const getSelectOaNewsById = (params) => {
	return $http.get('admin/selectOaNewsById',params)
};

